<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title></title>
		<style>
			
		</style>
		<script>
			
			/*function fn(a,b,c){
				console.log(arguments);			
			}*/	

			/*
				... 操作符
					把实参剩余的放在数组中，只能放在最后
			*/
			/*function fn(a,b,...ar,c){
				console.log(ar);			
			}

			fn(1,2,3)
			fn(1,2,3,4,5,6)*/

			var arr = [1,2,3,4];
			let [a,...miaov] = arr;

			console.log(a,miaov);

			let o = {ketang:1,b:2,c:3};
			let {ketang,...obj} = o;
			console.log(obj);


		</script>
	</head>

	<body>
		<ul>
			<li>11</li>
		</ul>
	</body>
</html>